package com.zmj.workorder.mapper;

import com.zmj.workorder.bean.WorkOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface WorkOrderMapper {

	public int savaWorkOrder(WorkOrder workOrder);
	public List<WorkOrder> getWorkOrder();


	public List<WorkOrder> findByPage(@Param("offset") int offset,
                                      @Param("limit") int limit,
                                      @Param("order") String order,
                                      @Param("search") String search);
	public long findTotalCount(@Param("search") String search);

}
